<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>试卷维护</title>
<%@include file="/view/common/js-css.jsp" %>
</head>
<body>
	<div id="frameWrapper" class="frameWrapper">
	<div class="titlebar">
		 <p>当前位置：试卷管理<span>/</span>试卷维护<span>/</span>修改试卷</p>
	</div>
	<div class="formbar">
		<form name="updateGrade" action="${pageContext.request.contextPath }/PageServlet?command=update&paperId=${paper.paper_id}" method="post">
		    <div class="form_control">
		    <span class="input-name">试卷名称：</span>
		    <input class="required " value="${paper.paper_name }" type="text" name="paperName" data-tip="请输入试卷名称" data-valid="isNonEmpty||onlyInt" data-error="试卷名不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">科目编号：</span>
		      <input class="required" value="${paper.subject_id }" type="text" name="subjectNo" data-tip="请输入科目编号" data-valid="isNonEmpty" data-error="科目编号不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">试题总分：</span>
		      <input class="required" value="${paper.total_score }" type="text" name="totalScore" data-tip="请输入总分数" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">及格分数：</span>
		      <input class="required" value="${paper.pass_score }" type="text" name="passScore" data-tip="请输入及格分数" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">考试时间：</span>
		      <input class="required" value="${paper.exam_time }" type="text" name="examTime" data-tip="考试时间" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">单选题数：</span>
		      <input class="required" value="${paper.single_number }" type="text" name="singleNumber" data-tip="单选题数" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">单选题总分：</span>
		      <input class="required" value="${paper.single_score }" type="text" name="singleScore" data-tip="单选题总分" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">多选题数：</span>
		      <input class="required" value="${paper.multi_number }" type="text" name="multiNumber" data-tip="多选题数" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">多选题总分：</span>
		      <input class="required" value="${paper.multi_score }" type="text" name="multiScore" data-tip="多选题总分" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">判断题数：</span>
		      <input class="required" value="${paper.judge_number }" type="text" name="judgeNumber" data-tip="判断题数" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">判断题总分：</span>
		      <input class="required" value="${paper.judge_score }" type="text" name="judgeScore" data-tip="判断题总分" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		    <div class="form_control">
		    <span class="input-name">出题人编号：</span>
		      <input class="required" value="${paper.user_id }" type="text" name="userId" data-tip="出题人编号" data-valid="isNonEmpty" data-error="不能为空">
		    </div>
		   <div class="submit">
			     <input type="submit" value="立即提交" />
			</div>
			</form>
	</div>		
</div>
</body>
</html>